package com.addplus.townmall.server.api.model.demo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class DemoUser implements Serializable {
    private static final long serialVersionUID = 8095760544534811208L;
    private Integer id;
    private String nickName;
    //地址信息，和用户是一对一的关系
    private DemoAddress demoAddress;
    //地址id
    private Integer demoAddressId;
    //用户拥有的车，和用户是一对多的关系
    private List<DemoCar> cars;
}
